﻿//===================================================================================
// Copyright (c) Ryan Garrett.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===================================================================================

using System;
namespace Caffeine.Core.Test.TestModel
{
    public class ModelForCollectionPropertyChangeTest : ModelBase
    {
        private readonly ModelCollection<ModelForCollectionPropertyChangeTest> _children;

        public ModelForCollectionPropertyChangeTest()
        {
            _children = RegisterCollectionProperty<ModelForCollectionPropertyChangeTest>("Children");
        }

        public ModelCollection<ModelForCollectionPropertyChangeTest> Children
        {
            get
            {
                return _children;
            }
        }
    }
}
